package com.erp.utils;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * @ClassName UploadFile
 * @Description 文件上传统一返回信息类
 * @Author songjizhen
 * @Date 2020-07-04 17:05
 * @Version 1.0
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UploadFile {
    /**
     * 原始文件名称
     */
    private String originalFileName;
    /**
     * 文件名称
     */
    private String fileName;
    /**
     * 状态
     */
    private boolean status;
    /**
     * 上传后在FTP上的路径
     */
    private String ftpPath;

    public String getOriginalFileName() {
        return originalFileName;
    }

    public void setOriginalFileName(String originalFileName) {
        this.originalFileName = originalFileName;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getFtpPath() {
        return ftpPath;
    }

    public void setFtpPath(String ftpPath) {
        this.ftpPath = ftpPath;
    }
}
